package com.example.edu.themechange;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;

public class ThirdActivity extends AppCompatActivity {
    private int theme;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        theme=getIntent().getIntExtra("theme",0);
        this.setTheme(theme);
        Log.i("TAG", "onCreate:.. ......"+theme);
        setContentView(R.layout.activity_third);

    }

}
